home *** CD-ROM | disk | FTP | other *** search
- // -[KeepHeading]-
-
-
- // -[Copyright]-
-
- /**
- * (c) Copyright 1993-1994. Step Ahead Software Pty Limited. All rights
- * reserved.
- */
- import java.lang.*;
-
-
- // -[KeepBeforeClass]-
- import java.awt.*;
-
-
- // -[Class]-
-
- /**
- * @jTitle Shape
- * @jOverridability must be overridden (abstract)
- * @jDescription
- * Describe here
- *
- * @see
- */
- public abstract
- class Shape
- {
- // -[KeepWithinClass]-
-
-
- // -[Fields]-
-
-
-
- /**
- * X coordinate of shape's origin.
- */
- protected int x;
-
-
-
- /**
- * Y coodinate of shapes origin.
- */
- protected int y;
-
-
- // -[Methods]-
-
- /**
- * Constructs a shape object with the given x,y position.
- */
- public Shape(int initX, int initY)
- {
- // Set up initial location
- x = initX;
- y = initY;
- }
-
- public abstract void show(Graphics g);
-
- }
-
-
-